package network.data.request;

public class TworzenieNowejGry {

    String gamename, map, mode, password;
    int max_player; /* capability 2,4,6,8,10,12,14,16,18 */


    public TworzenieNowejGry() {
    }
    
    public TworzenieNowejGry(String gamename, int max_player) {
        this(gamename, null, null, null, max_player);
        /* map = null -> random map
         * mode = null -> random mode
         * password = null -> no password
         */
    }

    public TworzenieNowejGry(String gamename, String map,
            String mode, int max_player) {
        this(gamename, map, mode, null, max_player);
        /* no password */
    }

    public TworzenieNowejGry(String gamename, String map,
            String mode, String password, int max_player) {
        this.gamename = gamename;
        this.map = map;
        this.mode = mode;
        this.password = password;
        this.max_player = max_player;
    }

    public String getGamename() {
        return gamename;
    }

    public String getMap() {
        return map;
    }

    public String getMode() {
        return mode;
    }

    public String getPassword() {
        return password;
    }

    public int getMax_player() {
        return max_player;
    }
    
}
